package cn.tedu.tnt_sky.service.Impl;

import cn.tedu.tnt_sky.mapper.admin.CommentMapper;
import cn.tedu.tnt_sky.pojo.vo.CommentVO;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class CommentService implements cn.tedu.tnt_sky.service.CommentService {

    @Autowired
    CommentMapper mapper;

    @Override
    public List<CommentVO> listById(Long id) {
        return mapper.selectById(id);
    }

    @Override
    public void delete(Long id) {
       mapper.delete(id);
    }


}
